package com.leonzx.base.config.quartz.job;

import com.leonzx.base.config.quartz.BaseJob;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

/**
 * @Author:梁亮
 * @Description:
 * @Date: 2018/7/2 17:22
 */
public class HelloJob implements BaseJob {
    private static final Logger logger = LoggerFactory.getLogger(HelloJob.class);

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        logger.error("Hello Job执行时间：" + new Date());
    }
}
